<template>
	<view class="container">
		<button @click='test1'>白名单内的页面</button>
		<button @click='test2'>白名单外的页面</button>
		<button @click='Login'>登录页</button>
		<navigator url="/pages/test2/test2">点击</navigator>
	</view>
</template>

<script>
	export default {
		data() {
			return {}
		},
		methods: {
			test1() {
				uni.navigateTo({
					url: '/pages/test1/test1'
				})
			},
			test2() {
				uni.navigateTo({
					url: '/pages/test2/test2'
				})
			},
			Login() {
				uni.navigateTo({
					url: '/pages/login/login'
				})
			}
		}
	}
</script>

<style>
	.container {
		padding: 20px;
		font-size: 14px;
		line-height: 24px;
	}
</style>
